package cn.edu.htu.service.impl;

import cn.edu.htu.entity.Account;
import cn.edu.htu.mapper.AccountMapper;
import cn.edu.htu.service.IAccountService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dakai
 * @since 2021-06-05
 */
@Service
public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> implements IAccountService {

    @Autowired
    private AccountMapper accountMapper;

    @Override
    public List<Account> selectAccountUserList() {
        List<Account> users = accountMapper.selectAccountUserList();
        return users;
    }
}
